﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title>老师查看</title>
    <link href="/CSS/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/CSS/Base/BaseClass.css" rel="stylesheet" type="text/css" />

    <script src="/Scripts/jquery-1.11.2.min.js"></script>
    <script src="/Scripts/jquery-migrate-1.1.0.min.js"></script>
    <script src="/JqueryPlug/layer/layer/layer.js"></script>
    <script src="/Scripts/avalon.min.js"></script>
    <script src="/CSS/bootstrap3.3.5/js/bootstrap.js"></script>
    <script src="/Scripts/SZHLCommon.js"></script>
    <style>
        img {
            height: auto;
            width: auto\9;
            width: 100%;
        }
    </style>
    <script>
        var strId = ComFunJS.getQueryString("ID");
        var model = avalon.define({
            $id: "APP_LSGL_View",
            modelData: {},
        });

        avalon.ready(function () { 
            if (strId != null) {
                $.getJSON('/API/FTAPI.ashx?Action=GETLSGLMODEL', { P1: strId }, function (resultData) {
                    if (resultData.ErrorMsg == "") { 
                        model.modelData = resultData.Result;

                        ComFunJS.initForm();
                    }
                })

            }
        })
    </script>
</head>
<body ms-controller="APP_LSGL_View">
    <div class="container-fluid" id="dvContent" style="padding:0;margin:0;">
        <div class="form-horizontal" style="margin-top:20px;">
            <div class="form-group">
                <label class="col-xs-2 control-label"><span class="Required">*</span>老师名称</label>
                <div class="col-xs-3">
                    <input type="text" value="" ms-duplex="modelData.LS_LSXM" class="form-control szhl_require" />
                </div>
                <label class="col-xs-2 control-label"> <span class="Required">*</span>老师类别 </label>
                <div class="col-xs-3">
                    <select ms-duplex="modelData.LS_Type" class="form-control">
                        <option>培训机构</option>
                        <option>大学老师</option>
                        <option>兼职老师</option>
                        <option>社会老师</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label"><span class="Required">*</span>老师联系方式</label>
                <div class="col-xs-3">
                    <input type="text" value="" ms-duplex="modelData.LS_LSLXFS" class="form-control szhl_require" />
                </div>
                <label class="col-xs-2 control-label">主要课程</label>
                <div class="col-xs-3">
                    <input type="text" value="" ms-duplex="modelData.LS_ZYKC" class="form-control " />
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label"><span class="Required">*</span>地点</label>
                <div class="col-xs-3">
                    <input type="text" value="" ms-duplex="modelData.LS_Address" class="form-control " />
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label"><span class="Required">*</span>老师图片</label>
                <div class="col-xs-8">
                    <input type="text" value="" ms-duplex="modelData.LS_LSTP" class="form-control szhl_Upload" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label">附件</label>
                <div class="col-xs-8">
                    <input type="text" value="" class="span2  szhl_Upload form-control" ms-duplex="modelData.Files" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label">老师介绍</label>
                <div class="col-xs-8">
                    <textarea id="conLSJS" ms-duplex="modelData.LS_LSJS" class="szhl_UEEDIT form-control "></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label">备注</label>
                <div class="col-xs-8">
                    <textarea id="conRemark" ms-duplex="modelData.LS_BeiZhu" class="szhl_UEEDIT form-control "></textarea>
                </div>
            </div>
        </div>
    </div>
    <script src="/CSS/bootstrap3.3.5/js/bootstrap.min.js"></script>
    <link href="/JqueryPlug/umeditor122/themes/default/css/umeditor.css" type="text/css" rel="stylesheet" />
    <script src="/JqueryPlug/umeditor122/umeditor.js" type="text/javascript" charset="utf-8"></script>
    <script src="/JqueryPlug/umeditor122/umeditor.config.js" type="text/javascript" charset="utf-8"></script></body>
</html>